cmake_minimum_required(VERSION 3.5.0)
project(audioSystem)

set(CMAKE_CXX_STANDARD 17)

include_directories(../../include)
link_directories(../../lib)


file(GLOB LoadAudio_srcs *.cpp)
add_library(LoadAudio STATIC ${LoadAudio_srcs})

if(UNIX)
target_link_libraries(LoadAudio openal)
endif()

if(WIN32)
target_link_libraries(LoadAudio OpenAL32)
endif()